var Cat = /** @class */ (function () {
    function Cat() {
    }
    Cat.prototype.eat = function () {
        console.log('cat吃东西');
    };
    Cat.prototype.sleep = function () {
        console.log('cat睡觉');
    };
    return Cat;
}());
var Dog = /** @class */ (function () {
    function Dog() {
    }
    Dog.prototype.eat = function () {
        console.log('dog吃东西');
    };
    Dog.prototype.sleep = function () {
        console.log('dog睡觉');
    };
    return Dog;
}());
var dog = new Dog();
dog.eat();
